package com.lr.springbootdemo.bean;

import org.springframework.core.env.Environment;

/**
 * .常量
 * Created by li.rui on 2016-06-13.
 */
public class Constants {
    public static Environment env = null;

    private Constants(){}
    /**result status*/
    public static final Integer SUCCESS = 1;
    public static final Integer ERROR = 0;
    /**缓存名称*/
    public static final String CACHE_NAME = "spring_boot_demo_cache";

    public static final String CACHE_KEY_PREFIX = "spring:cache:" + CACHE_NAME + ":";
}
